POV-Ray : Newsgroups : povray.general : Lights in an object : Lights in an object Server Time
30 Jul 2024 16:16:04 EDT (-0400)
  Lights in an object  
From: Dave VanHorn
Date: 27 Oct 2008 18:20:00
Message: <web.49063d6478db427ea08ed15e0@news.povray.org>
See below, I'm trying to illuminate the scene with a "fire".
The cylinder object gives me a nice looking fire, (complicated)
and the chalice object is fine, but the light sources which should be up in the
fire object, don't seem to get OUT.

What did I miss?


#declare Fire = object { union { cylinder { <0,0.01,0>, <0,3,0>, 1.0 hollow
                                            material { Flame }
                                            translate <-0,0.5,0>
                                            no_shadow
                                          }
                                 object { Chalice rotate <0, 0, 0>
                                          photons { target 1.0
                                                    refraction off
                                                    reflection on
                                                  }
                                        }
                                 light_source { 0*y
                                                color rgb 1.50
                                                area_light
                                                <0.0, 1.0, 0.0> <0.0, 2.0, 0.0>
                                                8, 1
                                                adaptive 1
                                                orient
                                              }
                               }
                      }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.